<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%
 	//session.setMaxInactiveInterval(50);//
 	//先判断一下
 	String _name=(String)session.getAttribute("USER_LOGIN");
 	if(_name==null){
 		//location=''
 		out.print("<script>alert('您还没有登录，给钱也不卖');location.replace('login.jsp');</script>");
 		return;
 	}
  %>
  <h2>欢迎<%=_name%>&nbsp;&nbsp;<a href="logout.jsp">退出</a>
  	&nbsp;<a href="#">个人中心</a>
  </h2>
  